#include "Client.h"

Client::Client(QWidget *parent) : QWidget(parent)
{
    m_sock = new QTcpSocket(this);

    connect(m_sock,&QTcpSocket::readyRead,[=]{
        //读取服务器消息
        QByteArray ba= m_sock->readAll();

    });
}
